package com.ruoyi.cbs.contract.mapper;

import java.util.List;
import com.ruoyi.cbs.contract.domain.ContractorEquipment;

/**
 * 承包商器具Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-21
 */
public interface ContractorEquipmentMapper 
{
    /**
     * 查询承包商器具
     * 
     * @param id 承包商器具主键
     * @return 承包商器具
     */
    public ContractorEquipment selectContractorEquipmentById(Long id);

    /**
     * 查询承包商器具列表
     * 
     * @param contractorEquipment 承包商器具
     * @return 承包商器具集合
     */
    public List<ContractorEquipment> selectContractorEquipmentList(ContractorEquipment contractorEquipment);

    /**
     * 新增承包商器具
     * 
     * @param contractorEquipment 承包商器具
     * @return 结果
     */
    public int insertContractorEquipment(ContractorEquipment contractorEquipment);

    /**
     * 修改承包商器具
     * 
     * @param contractorEquipment 承包商器具
     * @return 结果
     */
    public int updateContractorEquipment(ContractorEquipment contractorEquipment);

    /**
     * 删除承包商器具
     * 
     * @param id 承包商器具主键
     * @return 结果
     */
    public int deleteContractorEquipmentById(Long id);

    /**
     * 批量删除承包商器具
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteContractorEquipmentByIds(Long[] ids);
}
